Integrand size = 23, antiderivative size = 345 \[ \int x^3 \left (d+e x^2\right )^{5/2} (a+b \arctan (c x)) \, dx=\frac {b \left (59 c^6 d^3+712 c^4 d^2 e-1104 c^2 d e^2+448 e^3\right ) x \sqrt {d+e x^2}}{8064 c^7 e}-\frac {b \left (69 c^4 d^2-520 c^2 d e+336 e^2\right ) x \left (d+e x^2\right )^{3/2}}{12096 c^5 e}-\frac {b \left (33 c^2 d-56 e\right ) x \left (d+e x^2\right )^{5/2}}{3024 c^3 e}-\frac {b x \left (d+e x^2\right )^{7/2}}{72 c e}-\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}+\frac {b \left (c^2 d-e\right )^{7/2} \left (2 c^2 d+7 e\right ) \arctan \left (\frac {\sqrt {c^2 d-e} x}{\sqrt {d+e x^2}}\right )}{63 c^9 e^2}+\frac {b \left (315 c^8 d^4+840 c^6 d^3 e-3024 c^4 d^2 e^2+2880 c^2 d e^3-896 e^4\right ) \text {arctanh}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{8064 c^9 e^{3/2}} \]
[Out]
Time = 0.40 (sec) , antiderivative size = 345, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.435, Rules used = {272, 45, 5096, 12, 542, 537, 223, 212, 385, 209} \[ \int x^3 \left (d+e x^2\right )^{5/2} (a+b \arctan (c x)) \, dx=\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}-\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {b \left (c^2 d-e\right )^{7/2} \left (2 c^2 d+7 e\right ) \arctan \left (\frac {x \sqrt {c^2 d-e}}{\sqrt {d+e x^2}}\right )}{63 c^9 e^2}+\frac {b \left (315 c^8 d^4+840 c^6 d^3 e-3024 c^4 d^2 e^2+2880 c^2 d e^3-896 e^4\right ) \text {arctanh}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{8064 c^9 e^{3/2}}-\frac {b x \left (33 c^2 d-56 e\right ) \left (d+e x^2\right )^{5/2}}{3024 c^3 e}-\frac {b x \left (69 c^4 d^2-520 c^2 d e+336 e^2\right ) \left (d+e x^2\right )^{3/2}}{12096 c^5 e}+\frac {b x \left (59 c^6 d^3+712 c^4 d^2 e-1104 c^2 d e^2+448 e^3\right ) \sqrt {d+e x^2}}{8064 c^7 e}-\frac {b x \left (d+e x^2\right )^{7/2}}{72 c e} \]
[In]
[Out]
Rule 12
Rule 45
Rule 209
Rule 212
Rule 223
Rule 272
Rule 385
Rule 537
Rule 542
Rule 5096
Rubi steps \begin{align*} \text {integral}& = -\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}-(b c) \int \frac {\left (d+e x^2\right )^{7/2} \left (-2 d+7 e x^2\right )}{63 e^2 \left (1+c^2 x^2\right )} \, dx \\ & = -\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}-\frac {(b c) \int \frac {\left (d+e x^2\right )^{7/2} \left (-2 d+7 e x^2\right )}{1+c^2 x^2} \, dx}{63 e^2} \\ & = -\frac {b x \left (d+e x^2\right )^{7/2}}{72 c e}-\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}-\frac {b \int \frac {\left (d+e x^2\right )^{5/2} \left (-d \left (16 c^2 d+7 e\right )+\left (33 c^2 d-56 e\right ) e x^2\right )}{1+c^2 x^2} \, dx}{504 c e^2} \\ & = -\frac {b \left (33 c^2 d-56 e\right ) x \left (d+e x^2\right )^{5/2}}{3024 c^3 e}-\frac {b x \left (d+e x^2\right )^{7/2}}{72 c e}-\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}-\frac {b \int \frac {\left (d+e x^2\right )^{3/2} \left (-d \left (96 c^4 d^2+75 c^2 d e-56 e^2\right )+e \left (69 c^4 d^2-520 c^2 d e+336 e^2\right ) x^2\right )}{1+c^2 x^2} \, dx}{3024 c^3 e^2} \\ & = -\frac {b \left (69 c^4 d^2-520 c^2 d e+336 e^2\right ) x \left (d+e x^2\right )^{3/2}}{12096 c^5 e}-\frac {b \left (33 c^2 d-56 e\right ) x \left (d+e x^2\right )^{5/2}}{3024 c^3 e}-\frac {b x \left (d+e x^2\right )^{7/2}}{72 c e}-\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}-\frac {b \int \frac {\sqrt {d+e x^2} \left (-3 d \left (128 c^6 d^3+123 c^4 d^2 e-248 c^2 d e^2+112 e^3\right )-3 e \left (59 c^6 d^3+712 c^4 d^2 e-1104 c^2 d e^2+448 e^3\right ) x^2\right )}{1+c^2 x^2} \, dx}{12096 c^5 e^2} \\ & = \frac {b \left (59 c^6 d^3+712 c^4 d^2 e-1104 c^2 d e^2+448 e^3\right ) x \sqrt {d+e x^2}}{8064 c^7 e}-\frac {b \left (69 c^4 d^2-520 c^2 d e+336 e^2\right ) x \left (d+e x^2\right )^{3/2}}{12096 c^5 e}-\frac {b \left (33 c^2 d-56 e\right ) x \left (d+e x^2\right )^{5/2}}{3024 c^3 e}-\frac {b x \left (d+e x^2\right )^{7/2}}{72 c e}-\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}-\frac {b \int \frac {-3 d \left (256 c^8 d^4+187 c^6 d^3 e-1208 c^4 d^2 e^2+1328 c^2 d e^3-448 e^4\right )-3 e \left (315 c^8 d^4+840 c^6 d^3 e-3024 c^4 d^2 e^2+2880 c^2 d e^3-896 e^4\right ) x^2}{\left (1+c^2 x^2\right ) \sqrt {d+e x^2}} \, dx}{24192 c^7 e^2} \\ & = \frac {b \left (59 c^6 d^3+712 c^4 d^2 e-1104 c^2 d e^2+448 e^3\right ) x \sqrt {d+e x^2}}{8064 c^7 e}-\frac {b \left (69 c^4 d^2-520 c^2 d e+336 e^2\right ) x \left (d+e x^2\right )^{3/2}}{12096 c^5 e}-\frac {b \left (33 c^2 d-56 e\right ) x \left (d+e x^2\right )^{5/2}}{3024 c^3 e}-\frac {b x \left (d+e x^2\right )^{7/2}}{72 c e}-\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}+\frac {\left (b \left (c^2 d-e\right )^4 \left (2 c^2 d+7 e\right )\right ) \int \frac {1}{\left (1+c^2 x^2\right ) \sqrt {d+e x^2}} \, dx}{63 c^9 e^2}+\frac {\left (b \left (315 c^8 d^4+840 c^6 d^3 e-3024 c^4 d^2 e^2+2880 c^2 d e^3-896 e^4\right )\right ) \int \frac {1}{\sqrt {d+e x^2}} \, dx}{8064 c^9 e} \\ & = \frac {b \left (59 c^6 d^3+712 c^4 d^2 e-1104 c^2 d e^2+448 e^3\right ) x \sqrt {d+e x^2}}{8064 c^7 e}-\frac {b \left (69 c^4 d^2-520 c^2 d e+336 e^2\right ) x \left (d+e x^2\right )^{3/2}}{12096 c^5 e}-\frac {b \left (33 c^2 d-56 e\right ) x \left (d+e x^2\right )^{5/2}}{3024 c^3 e}-\frac {b x \left (d+e x^2\right )^{7/2}}{72 c e}-\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}+\frac {\left (b \left (c^2 d-e\right )^4 \left (2 c^2 d+7 e\right )\right ) \text {Subst}\left (\int \frac {1}{1-\left (-c^2 d+e\right ) x^2} \, dx,x,\frac {x}{\sqrt {d+e x^2}}\right )}{63 c^9 e^2}+\frac {\left (b \left (315 c^8 d^4+840 c^6 d^3 e-3024 c^4 d^2 e^2+2880 c^2 d e^3-896 e^4\right )\right ) \text {Subst}\left (\int \frac {1}{1-e x^2} \, dx,x,\frac {x}{\sqrt {d+e x^2}}\right )}{8064 c^9 e} \\ & = \frac {b \left (59 c^6 d^3+712 c^4 d^2 e-1104 c^2 d e^2+448 e^3\right ) x \sqrt {d+e x^2}}{8064 c^7 e}-\frac {b \left (69 c^4 d^2-520 c^2 d e+336 e^2\right ) x \left (d+e x^2\right )^{3/2}}{12096 c^5 e}-\frac {b \left (33 c^2 d-56 e\right ) x \left (d+e x^2\right )^{5/2}}{3024 c^3 e}-\frac {b x \left (d+e x^2\right )^{7/2}}{72 c e}-\frac {d \left (d+e x^2\right )^{7/2} (a+b \arctan (c x))}{7 e^2}+\frac {\left (d+e x^2\right )^{9/2} (a+b \arctan (c x))}{9 e^2}+\frac {b \left (c^2 d-e\right )^{7/2} \left (2 c^2 d+7 e\right ) \arctan \left (\frac {\sqrt {c^2 d-e} x}{\sqrt {d+e x^2}}\right )}{63 c^9 e^2}+\frac {b \left (315 c^8 d^4+840 c^6 d^3 e-3024 c^4 d^2 e^2+2880 c^2 d e^3-896 e^4\right ) \text {arctanh}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{8064 c^9 e^{3/2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.68 (sec) , antiderivative size = 470, normalized size of antiderivative = 1.36 \[ \int x^3 \left (d+e x^2\right )^{5/2} (a+b \arctan (c x)) \, dx=-\frac {c^2 \sqrt {d+e x^2} \left (384 a c^7 \left (2 d-7 e x^2\right ) \left (d+e x^2\right )^3+b e x \left (-1344 e^3+48 c^2 e^2 \left (83 d+14 e x^2\right )-8 c^4 e \left (453 d^2+242 d e x^2+56 e^2 x^4\right )+3 c^6 \left (187 d^3+558 d^2 e x^2+424 d e^2 x^4+112 e^3 x^6\right )\right )\right )+384 b c^9 \left (2 d-7 e x^2\right ) \left (d+e x^2\right )^{7/2} \arctan (c x)+192 i b \left (c^2 d-e\right )^{7/2} \left (2 c^2 d+7 e\right ) \log \left (-\frac {252 i c^{10} e^2 \left (c d-i e x+\sqrt {c^2 d-e} \sqrt {d+e x^2}\right )}{b \left (c^2 d-e\right )^{9/2} \left (2 c^2 d+7 e\right ) (i+c x)}\right )-192 i b \left (c^2 d-e\right )^{7/2} \left (2 c^2 d+7 e\right ) \log \left (\frac {252 i c^{10} e^2 \left (c d+i e x+\sqrt {c^2 d-e} \sqrt {d+e x^2}\right )}{b \left (c^2 d-e\right )^{9/2} \left (2 c^2 d+7 e\right ) (-i+c x)}\right )+3 b \sqrt {e} \left (-315 c^8 d^4-840 c^6 d^3 e+3024 c^4 d^2 e^2-2880 c^2 d e^3+896 e^4\right ) \log \left (e x+\sqrt {e} \sqrt {d+e x^2}\right )}{24192 c^9 e^2} \]
[In]
[Out]
\[\int x^{3} \left (e \,x^{2}+d \right )^{\frac {5}{2}} \left (a +b \arctan \left (c x \right )\right )d x\]
[In]
[Out]
none
Time = 29.10 (sec) , antiderivative size = 1978, normalized size of antiderivative = 5.73 \[ \int x^3 \left (d+e x^2\right )^{5/2} (a+b \arctan (c x)) \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int x^3 \left (d+e x^2\right )^{5/2} (a+b \arctan (c x)) \, dx=\int x^{3} \left (a + b \operatorname {atan}{\left (c x \right )}\right ) \left (d + e x^{2}\right )^{\frac {5}{2}}\, dx \]
[In]
[Out]
Exception generated. \[ \int x^3 \left (d+e x^2\right )^{5/2} (a+b \arctan (c x)) \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int x^3 \left (d+e x^2\right )^{5/2} (a+b \arctan (c x)) \, dx=\int { {\left (e x^{2} + d\right )}^{\frac {5}{2}} {\left (b \arctan \left (c x\right ) + a\right )} x^{3} \,d x } \]
[In]
[Out]
Timed out. \[ \int x^3 \left (d+e x^2\right )^{5/2} (a+b \arctan (c x)) \, dx=\int x^3\,\left (a+b\,\mathrm {atan}\left (c\,x\right )\right )\,{\left (e\,x^2+d\right )}^{5/2} \,d x \]
[In]
[Out]